package com.qf.shopping.pojo.car;

/**
 * 汽车自有商品表
 * @author Humy
 * @date 2019/4/12 11:24
 */
public class Product {

    //id
    private Long id;

    //自有商品名称
    private String name;

    //车型说明
    private String description;

    //售后服务
    private String service;

    //创建时间
    private Long createTime;

    //最后更新时间
    private Long updateTime;

    public Product() {
    }

    public Product(Long id, String name, String description, String service, Long createTime, Long updateTime) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.service = service;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", service='" + service + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
